<?php
/**
 * Esta clase intenta resolver (workaround) 
 * el problema de los includes anidados
 * 
 * $Id: IncludeHelper.class.php 13 2010-04-18 21:50:07Z ccorlatti $
 * 
 */
final class IncludeHelper {

	static function inc($path) {
		try {
			require_once SITE_FOLDER . $path;
		} catch (Exception $ex){
			echo $ex->getMessage();
		}
	}
	
	static function getPath($path) {
		return SITE_FOLDER . $path;
	}
}

?>
